package com.mvc.gulimall.product.feign;

import com.mvc.common.To.SkuHasStockVo;
import com.mvc.common.utils.R;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("waresrvice")
public interface WareFeignSrvice {
    @PostMapping("/ware/waresku/hasstock")
    R   getSkusHasStock(@RequestBody List<Long> skuIds);
}
